package client;


import bjut.zrpc.core.optimization.annotation.ZRpcScan;
import client.controller.HelloController;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;


/**
 * @Author: zhuzhiming
 * @Date: 2022/5/22 12:37
 */
@ZRpcScan(basePackage = {"client"})
@SpringBootApplication
public class ZRpcClient {

    public static void main(String[] args) {
        AnnotationConfigApplicationContext applicationContext = new AnnotationConfigApplicationContext(ZRpcClient.class);
        SpringApplication.run(ZRpcClient.class, args);
//        HelloController helloController = applicationContext.getBean(HelloController.class);
//        helloController.test();
    }

}
